import Homepage from '@/view/home'

export default [{
  name: 'home',
  component: Homepage,
  meta: {
    title: '首页',
    icon: 'home-o',
    tabbar: true
  }
},
{
  name: 'category',
  component: () => import('@/view/category'),
  meta: {
    title: '分类',
    icon: 'apps-o',
    tabbar: true
  }
},
{
  name: 'discover',
  component: () => import('@/view/discover'),
  meta: {
    title: '发现',
    icon: 'more-o',
    tabbar: true
  }
},
{
  name: 'home/cart',
  component: () => import('@/view/cart'),
  meta: {
    title: '购物车',
    icon: 'shopping-cart-o',
    tabbar: true
  }
},
{
  name: 'mine',
  component: () => import('@/view/user'),
  meta: {
    title: '我的',
    icon: 'user-circle-o',
    tabbar: true
  }
}
]
